-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Binaries installation method on Linux #326
Conversation
I'm still against this. You've gone to enough lengths to build things that you essentially don't need to be using BinDeps any more. |
This is wrong and harmful for any existing package that declares it provides binaries, to make them newly applicable when they were not before, so could easily be quite breaking. |
I would argue that the current behavior (ignoring any explicitly declared
Binaries) is the broken behavior. If people don't want an action to be
taken, they should not declare that the action should be taken, rather than
relying on the action being ignored for very opaque reasons. This is
certainly a breaking change, but anecdotally I don't see many packages
using binaries on Linux precisely because it's never worked before.
On Thu, Aug 24, 2017, 22:43 Tony Kelman ***@***.***> wrote:
This is wrong and harmful for any existing package that declares it
provides binaries, to make them newly applicable when they were not before,
so could easily be quite breaking.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#326 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAH_aLiB5ZqiV0B-MCThQysGBxan7rwTks5sbl7-gaJpZM4PCFtf>
.
--
…-E
|
Sure, but all of BinDeps' questionable behaviors are pretty ingrained and making any changes to them can have nasty consequences (e.g. #277, which still needs to be reverted or worked around in order for master of BinDeps to be releasable for any currently released version of Julia). If 90% of what you want to do at this point is download a file, I don't think it's worth changing this for every existing downstream package. |
I definitely do, since the binaries I've built are only for the 5 most common platforms, and anything else has to fall through to the BinDeps-provided build process. I can try to work around it with conditionals, but then when I'm using the built binaries I basically have to reimplement a bunch of the BinDeps machinery for unpacking, checking checksums, and all of that. I essentially have to write my own Currently the best solution I have to get around this pretty crippling limitation is stuff like JuliaMath/FFTW.jl@eb979b7, which hopefully we can agree is the greater of two evils here. Suggestions for that PR are more than welcome.
It seems unlikely that anyone would be actually relying on this not working, so it would likely not be a breaking change, and would in fact be beneficial for other package authors in similar situations. |
This would enable binaries that currently aren't enabled. Including potentially ones that are labeled as being Linux compatible but are not. |
Again, that's the fault of the package author, not of BinDeps. We shouldn't make it impossible to use binaries on Linux just because some people don't know how to make redistributable binaries. |
it's not impossible, there's a workaround that can be applied one package at a time when things are known to work, as opposed to potentially exposing every downstream user of bindeps to a risky behavior change. |
What's the workaround then? |
I'd like you to provide an example of a registered package that would be negatively impacted, instead of claiming that there may be one. In my grepping through all registered packages I have found only examples where users are already subverting this change at runtime; e.g. our workaround in FFTW.jl as well as LibHealpix and Yeppp. I don't see any other instances of I don't see how unbreaking this behavior can possibly be considered risky behavior; if I had a |
There will be more people fall into this pitfall and track back to this pull request. |
Will look into it, at least in public code. Been traveling 2.5 of the past 3 days I don't think that's a fair analogy as this was left out of the platform dependent defaults list intentionally. |
This (and all existing workaround uses of it) are broken and wrong on non-glibc distros. This should be reverted. |
Continued from #163, for which conflicts can no longer be resolved.